package Entities;

import java.io.Serializable;

import common.CommonMethods;

/**
 * 
 * @author Idan Mann
 * This class is an inspection entity,
 * it is used to transfer inspection from and to the database
 *
 */

public class InspectionEntity  implements Serializable
{
	private String inspectionID;
	private String requestID;
	private String inspectorID;
	private String deadline;
	private String faults;
	private String wasExtended;
	
	public InspectionEntity()
	{
		
	}

	public String getInspectionID() {
		return inspectionID;
	}

	public void setInspectionID(String inspectionID) {
		this.inspectionID = inspectionID;
	}

	public String getRequestID() {
		return requestID;
	}

	public void setRequestID(String requestID) {
		this.requestID = requestID;
	}

	public String getInspectorID() {
		return inspectorID;
	}

	public void setInspectorID(String inspectorID) {
		this.inspectorID = inspectorID;
	}

	public String getDeadline() {
		return deadline;
	}

	public void setDeadline(String deadline) {
		this.deadline = deadline;
	}

	public String getFaults() {
		return faults;
	}

	public void setFaults(String faults) {
		this.faults = CommonMethods.cleanStringForQuery(faults);
	}

	public String getWasExtended() {
		return wasExtended;
	}

	public void setWasExtended(String wasExtended) {
		this.wasExtended = wasExtended;
	}
	
}
